<!--
  Generated template for the JobsPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>
  <ion-navbar>
    <!-- <img src="assets/imgs/peo_min22.png" /> -->
    <ion-icon name="contact" style="font-size:2em;color: #FFF;margin-left:0.8rem;margin-top:0.3rem;"></ion-icon>
    <span class="title-user">{{securityService.user.userName}}</span>
  </ion-navbar>
</ion-header>
<ion-content>
  <div class="jobs-wrapper">
    <div class="jobs-sub-title">
      <span class="sub-title-icon"></span>
      <p>考勤管理</p>
    </div>
    <div class="jobs-grid">
      <!--<div class="job-item" (click)="toSignNewPage()">-->
      <div class="job-item" (click)="userQdAndPostion('signin')">
        <img src="assets/imgs/sign_big.png" />
        <p class="text">签到</p>
      </div>
      <div class="job-item" (click)="userQdAndPostion('signback')">
        <img src="assets/imgs/sign_back.png" color="red"/>
        <p class="text">签退</p>
      </div>
      <div class="job-item" (click)="goSign()">
        <img src="assets/imgs/qdjl.png" />
        <p class="text">考勤记录</p>
      </div>
    </div>
    <div class="jobs-grid">
        <!--科员非办公室科员-->
      <div class="job-item" (click)="startNewBpm('ccgl','gzccgl')" *ngIf="mi.sa || mi.rsgl_kqgl_ccgl_ky">
        <img src="assets/imgs/travel_big.png" />
        <p class="text">出差</p>
      </div>

      <!--科长、办公室科员出差-->
      <div class="job-item" (click)="startNewBpm('ccgl_kjgb','gzccgl')" *ngIf="mi.rsgl_kqgl_ccgl_kz">
        <img src="assets/imgs/travel_big.png" />
        <p class="text">出差</p>
      </div>

      <!--办公室主任-->
      <div class="job-item" (click)="startNewBpm('ccgl_zrjbgb','gzccgl')" *ngIf="mi.rsgl_kqgl_ccgl_bgszr">
        <img src="assets/imgs/travel_big.png" />
        <p class="text">&nbsp;&nbsp;&nbsp;出差&nbsp;&nbsp;&nbsp;</p>
      </div>

      <!--副局出差-->
      <div class="job-item" (click)="startNewBpm('ccgl_jjgb','gzccgl')" *ngIf="mi.rsgl_kqgl_ccgl_fj">
        <img src="assets/imgs/travel_big.png" />
        <p class="text">出差</p>
      </div>

       <!--局长出差-->
      <div class="job-item" (click)="startNewBpm('ccgl_jz','gzccgl')" *ngIf="mi.rsgl_kqgl_ccgl_jz">
        <img src="assets/imgs/travel_big.png" />
        <p class="text">出差</p>
      </div>

      <!--科员非办公室科员 -->
      <div class="job-item" (click)="startNewBpm('clsysq','gzclsq')" *ngIf="mi.sa || mi.gdzc_clgl_clsy_ky">
        <img src="assets/imgs/caruser.png" />
        <p class="text">用车申请</p>
      </div>

       <!--科长、办公室科员申请用车 -->
       <div class="job-item" (click)="startNewBpm('clsysq_kjgb','gzclsq')" *ngIf=" mi.gdzc_clgl_clsy_kzbgsky">
          <img src="assets/imgs/caruser.png" />
          <p class="text">用车申请</p>
        </div>

         <!--办公室主任申请用车 -->
       <div class="job-item" (click)="startNewBpm('clsysq_zrjbgb','gzclsq')" *ngIf="mi.gdzc_clgl_clsy_bgszr">
          <img src="assets/imgs/caruser.png" />
          <p class="text">用车申请</p>
        </div>
      
        <!-- <div class="job-item" (click)="toLeaveNewPage()">
        <img src="assets/imgs/leave_big.png"/>
        <p class="text">请假</p>
      </div> -->
      <!--科员请假流程-->
      <div class="job-item" (click)="startNewBpm('qjgl','gzqjgl')" *ngIf="mi.sa || mi.rsgl_kqgl_qjgl_ky">
        <img src="assets/imgs/leave_big.png" />
        <p class="text">请假</p>
      </div>

      <!--科级干部请假流程-->
      <div class="job-item" (click)="startNewBpm('qjgl_kjgb','gzqjgl')" *ngIf="mi.rsgl_kqgl_qjgl_kz">
        <img src="assets/imgs/leave_big.png" />
        <p class="text">请假</p>
      </div>

      <!--副局请假流程-->
      <div class="job-item" (click)="startNewBpm('qjgl_jjgb','gzqjgl')" *ngIf="mi.rsgl_kjgb_qjgl_jj">
        <img src="assets/imgs/leave_big.png" />
        <p class="text">请假</p>
      </div>

      <!--局长请假流程-->
      <div class="job-item" (click)="startNewBpm('qjgl_jz','gzqjgl')" *ngIf="mi.rsgl_kjgb_qjgl_jz">
        <img src="assets/imgs/leave_big.png" />
        <p class="text">请假</p>
      </div>

      
    </div>
    <div class="jobs-grid">
      <div class="job-item" (click)="goTrip()">
        <img src="assets/imgs/ccjl.png" />
        <p class="text">出差记录</p>
      </div>
  
        <div class="job-item" (click)="goVehicleAnnal()" style="float: left;">
          <img src="assets/imgs/carcording.png" />
          <p class="text">用车记录</p>
        </div>

        <div class="job-item" (click)="goLeave()">
          <img src="assets/imgs/qjjl.png" />
          <p class="text">请假记录</p>
        </div>

        <!-- <div class="job-item" style="float: left;">
           
          </div> -->
    </div>
    <div class="jobs-sub-title daily-jobs">
      <span class="sub-title-icon"></span>
      <p>日常办公</p>
    </div>
    <div class="jobs-grid">
      <div class="job-item" (click)="toSwglNewPage()">
        <img src="assets/imgs/income_big.png" />
        <p class="text">公文签批</p>
        <ion-badge style=" position: relative;left: 30px;bottom: 95px;background-color: red;">{{swglnums}}</ion-badge>
      </div>

    <!--  <div class="job-item" (click)="getPositionFun()">
        <img src="assets/imgs/income_big.png" />
        <p class="text">定位</p>
      </div>
      <div class="job-item" (click)="goLocation()">
        <img src="assets/imgs/income_big.png" />
        <p class="text">高德定位</p>
      </div>

      <div class="job-item" (click)="testAnalysis()">
        <img src="assets/imgs/income_big.png" />
        <p class="text">位置</p>
      </div>-->
      <!-- <div class="job-item" (click)="startNewBpm('sfwgl_kszysj','gzpublishfile')" *ngIf="mi.sa || mi.xzgl_gwgl_fwgl_ksnbfw">
        <img src="assets/imgs/income_big.png"/>
        <p class="text">发文</p>
      </div>
      <div class="job-item" (click)="startNewBpm('sfwgl','gzpublishfile')" *ngIf="mi.sa || mi.xzgl_gwgl_fwgl_kykz">
        <img src="assets/imgs/income_big.png"/>
        <p class="text">发文</p>
      </div>
      <div class="job-item" (click)="startNewBpm('sfwgl_zrjbgb','gzpublishfile')" *ngIf="mi.sa || mi.xzgl_gwgl_fwgl_bgszrfj">
        <img src="assets/imgs/income_big.png"/>
        <p class="text">发文</p>
      </div>
      <div class="job-item" (click)="startNewBpm('sfwgl_jzgb','gzpublishfile')" *ngIf="mi.sa || mi.xzgl_gwgl_fwgl_jz">
        <img src="assets/imgs/income_big.png"/>
        <p class="text">发文</p>
      </div>-->
     
    </div>
    <!--<div class="jobs-sub-title daily-jobs">
      <span class="sub-title-icon"></span>
      <p>车辆管理</p>
    </div>

    <div class="jobs-grid">
      
    </div>-->
  </div>
</ion-content>